<?php
$name = $this->controller->profile[0];
$email = $this->controller->profile[1];
?>
<form action="" method="post">
	<table id="profile" class="box">
		<tr>
			<td colspan="2" class="title">Profil szerkesztés</td>
		</tr>
		<tr>
			<td>Név:</td>
			<td><input type="text" name="name" value="<?= $name; ?>" autofocus></td>
		</tr>
		<tr>
			<td>E-mail cím:</td>
			<td><input type="text" name="email" value="<?= $email; ?>"></td>
		</tr>
		<tr>
			<td>Új jelszó:</td>
			<td><input type="password" name="password" value=""></td>
		</tr>
		<tr>
			<td>Új jelszó megerősítése:</td>
			<td><input type="password" name="password2" value=""></td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" name="profile" value="Mentés"></td>
			</td>
		</tr>
	</table>
</form>